package asteroids.model.programs.expressions;

import asteroids.model.GameObject;

public class EntityLiteral extends Expression {

	public EntityLiteral(int line, int column, GameObject go) {
		super(line, column);
		this.go = go;
	}
	
	public GameObject getGameObject() {
		return go;
	}
	
	private final GameObject go;

	@Override
	public <T> T accept(ExprEvaluator<T> ee) {
		return ee.evaluate(this);
	}

}
